package com.yate.auth.activiti;

import org.springframework.stereotype.Component;

/**
 * @ Tool：IntelliJ IDEA
 * @ Author：云生
 * @ Date：2024-12-13-14:40
 * @ Version：1.0
 * @ Description：
 */
@Component
public class UserBean {
    public String getUsername(int id) {
        if(id == 1) {
            return "lilei";
        }
        if(id == 2) {
            return "hanmeimei";
        }
        return "admin";
    }
}
